package com.itheima.test;

/**
 * @author zhangbaiyan
 * @date 2024-08-13 22:45
 * @description:
 * @version:
 */
public class test5 {
    private int a = 10;

    private int b = 20;


    public test5() {
    }

    public test5(int a, int b) {
        this.a = a;
        this.b = b;
    }

    /**
     * 获取
     * @return a
     */
    public int getA() {
        return a;
    }

    /**
     * 设置
     * @param a
     */
    public void setA(int a) {
        this.a = a;
    }

    /**
     * 获取
     * @return b
     */
    public int getB() {
        return b;
    }

    /**
     * 设置
     * @param b
     */
    public void setB(int b) {
        this.b = b;
    }

    public String toString() {
        return "test5{a = " + a + ", b = " + b + "}";
    }
}
